const state = {
  selectedKeys: [],
  openKeys: []
};

const mutations = {
  updateSelectedKeys(state, payload) {
    state.selectedKeys = payload;
  },
  updateOpenKeys(state, payload) {
    state.openKeys = payload;
  }
};

export default {
  namespaced: true,
  state,
  mutations
};
